package org.example.userservice.mapper;

import org.example.feign.pojo.*;

import java.util.List;

//@Mapper
public interface Mapper {

    int insertCustomer(Customer customer);

    List<Customer>insertCustomer();

    int insertCustomer1(Customer customer);

    Customer getCustomerByOpenid(String openid);


    int insertPrice(MyEntity myEntity);

    int insertPay(Pay pay);

    Employees findByPhoneAndPassword(String phone, String password);

    int updateCustomer(Customer existingCustomer);


    List<Customer> getCus();

    List<Price> getPrice();

    List<Employees> login();

    int updataPrice(MyEntity entity);
};

//    void updateCustomer(Customer customer);
//}

